﻿#pragma once


// Config_General_Dlg 对话框

class Config_General_Dlg : public CDialogEx
{
	DECLARE_DYNAMIC(Config_General_Dlg)

public:
	Config_General_Dlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~Config_General_Dlg();

	// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_CONFIG_GENERAL };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	CEdit edt_min_heal_lower_;
	virtual BOOL OnInitDialog();

	void UpdateSlider_1_Text(int pos);

	void UpdateSlider_AOE_Number_Text(int pos);

	void SetCheck(int param, bool check);

	static Config_General_Dlg* Inst();

	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);

	afx_msg void OnClickedCheckForceAttackTarget();

	CButton btn_force_attack_enable_;
	CSliderCtrl slider_min_heal_lower_;
	CSliderCtrl slider_aoe_num_;
	CStatic text_aoe_num_;
	afx_msg void OnClickedCheckForceAoeTarget();
	CButton btn_force_aoe_target_;
	CButton btn_use_azerite_neck_spell;
	afx_msg void OnClickedCheckUseAzeriteSpell();
	afx_msg void OnBnClickedCheckUseConroSpell();
	CButton btn_use_conro_spell;
};
